<template>
  <div class="big">
    <div class="box-card">
      <div class="item">Welcome!</div>
      <div class="item">欢迎来到后台管理界面</div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.big{
  position: relative;
  height: 100%;
}
.box-card{
  font-size: 30px;
  position: absolute;
  color: rgb(102,204,255);
  position: absolute;
  top: 50%; //基于父元素
  left: 50%; //基于父元素
  transform: translate(-50%, -50%); //基于自身
  .item{
    text-align: center;
  }
}

</style>
